package org.hsc.proxy;
/*
 * HttpProxyHandler.java
 *
 * Created on December 22, 2007
 *
 * Name:        Moty Michaely   |   Alon Halfon
 * ID:          043413087       |   300545969
 */

/**
 * Represents an entry of Http Context and Context Response callback.
 */
public class HandlerEntry {
    private HttpContext context;
    private HttpResponseCallback callback;

    public HandlerEntry(HttpContext context, HttpResponseCallback callback) {
        this.context = context;
        this.callback = callback;
    }

    public HttpContext getContext() {
        return this.context;
    }

    public HttpResponseCallback getCallback() {
        return this.callback;
    }
}